package com.example.gty.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelIgnore;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor

@ExcelTarget("courseVo1")
public class CourseVo1 implements Serializable {
    @Id
    @Column(name = "CNO")
    @Excel(name = "课程号")
    private String cno;



    @Column(name = "CNAME")
    @Excel(name = "课程名")
    private String cname;

    @Column(name = "TERM")
    @Excel(name = "学期")
    private Integer term;



    @Column(name = "CCREDIT")
    @Excel(name = "学分")
    private Integer ccredit;

    @Column(name = "CHOUR")
    @Excel(name = "学时")
    private Integer chour;

    @Column(name = "CREATE_TIME")
    @Excel(name = "修改时间")
    private Date createTime;

    @Excel(name = "任课老师号")
    private String tno;

    /**
     * @return CNO
     */
    public String getCno() {
        return cno;
    }

    /**
     * @param cno
     */
    public void setCno(String cno) {
        this.cno = cno;
    }

    /**
     * @return CNAME
     */
    public String getCname() {
        return cname;
    }

    /**
     * @param cname
     */
    public void setCname(String cname) {
        this.cname = cname;
    }

    /**
     * @return TERM
     */
    public Integer getTerm() {
        return term;
    }

    /**
     * @param term
     */
    public void setTerm(Integer term) {
        this.term = term;
    }

    /**
     * @return CCREDIT
     */
    public Integer getCcredit() {
        return ccredit;
    }

    /**
     * @param ccredit
     */
    public void setCcredit(Integer ccredit) {
        this.ccredit = ccredit;
    }

    /**
     * @return CHOUR
     */
    public Integer getChour() {
        return chour;
    }

    /**
     * @param chour
     */
    public void setChour(Integer chour) {
        this.chour = chour;
    }

    /**
     * @return CREATE_TIME
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}